package com.holyn.guofang.model.webhttp.wo;

import java.util.List;

/**
 * Created by Holyn on 2017/8/14.
 */

public class UserCardListWo{
    private static final long serialVersionUID = 11112222L;
    private int status;
    private String err;

    /**
     * count : 2
     * data : [{"id":123,"cardID":14,"cardNum":"123456","name":"次 卡A","cardType":1,"cardValue":50,"validTime":3,"validTimeType":1,"price":2000,"currency":1,"isValid":true,"activeState":true,"activeTime":"2017-06-30 00:00:00","endTime":"2017-09-30 00:00:00","validMethod":1,"remainCount":35,"equipmentCount":2,"attachedCardCount":1,"orderID":231},{"id":125,"cardID":16,"cardNum":"123456","name":"时 卡A","cardType":2,"cardValue":0,"validTime":12,"validTimeType":1,"price":5000,"currency":1,"isValid":true,"activeState":false,"activeTime":"","endTime":"2017-12-30 00:00:00","validMethod":1,"remainCount":0,"equipmentCount":3,"attachedCardCount":0,"orderID":331}]
     */

    private int count;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 123
         * cardID : 14
         * cardNum : 123456
         * name : 次 卡A
         * cardType : 1
         * cardValue : 50
         * validTime : 3
         * validTimeType : 1
         * price : 2000
         * currency : 1
         * isValid : true
         * activeState : true
         * activeTime : 2017-06-30 00:00:00
         * endTime : 2017-09-30 00:00:00
         * validMethod : 1
         * remainCount : 35
         * equipmentCount : 2
         * attachedCardCount : 1
         * orderID : 231
         */

        private int id;
        private int cardID;
        private String cardNum;
        private String name;
        private int cardType;
        private int cardValue;
        private int validTime;
        private int validTimeType;
        private int price;
        private int currency;
        private boolean isValid;
        private boolean activeState;
        private String activeTime;
        private String endTime;
        private int validMethod;
        private int remainCount;
        private int equipmentCount;
        private int attachedCardCount;
        private int orderID;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCardID() {
            return cardID;
        }

        public void setCardID(int cardID) {
            this.cardID = cardID;
        }

        public String getCardNum() {
            return cardNum;
        }

        public void setCardNum(String cardNum) {
            this.cardNum = cardNum;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCardType() {
            return cardType;
        }

        public void setCardType(int cardType) {
            this.cardType = cardType;
        }

        public int getCardValue() {
            return cardValue;
        }

        public void setCardValue(int cardValue) {
            this.cardValue = cardValue;
        }

        public int getValidTime() {
            return validTime;
        }

        public void setValidTime(int validTime) {
            this.validTime = validTime;
        }

        public int getValidTimeType() {
            return validTimeType;
        }

        public void setValidTimeType(int validTimeType) {
            this.validTimeType = validTimeType;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public boolean isIsValid() {
            return isValid;
        }

        public void setIsValid(boolean isValid) {
            this.isValid = isValid;
        }

        public boolean isActiveState() {
            return activeState;
        }

        public void setActiveState(boolean activeState) {
            this.activeState = activeState;
        }

        public String getActiveTime() {
            return activeTime;
        }

        public void setActiveTime(String activeTime) {
            this.activeTime = activeTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getValidMethod() {
            return validMethod;
        }

        public void setValidMethod(int validMethod) {
            this.validMethod = validMethod;
        }

        public int getRemainCount() {
            return remainCount;
        }

        public void setRemainCount(int remainCount) {
            this.remainCount = remainCount;
        }

        public int getEquipmentCount() {
            return equipmentCount;
        }

        public void setEquipmentCount(int equipmentCount) {
            this.equipmentCount = equipmentCount;
        }

        public int getAttachedCardCount() {
            return attachedCardCount;
        }

        public void setAttachedCardCount(int attachedCardCount) {
            this.attachedCardCount = attachedCardCount;
        }

        public int getOrderID() {
            return orderID;
        }

        public void setOrderID(int orderID) {
            this.orderID = orderID;
        }
    }
}
